package cn.zh.service;

import cn.zh.commons.ResponseResult;
import cn.zh.entity.Houseresource;
import cn.zh.vo.UserVo;

public interface ResourceService {
    ResponseResult page(Integer page, Integer limit, String pattern);

    ResponseResult houseUsername(String houseUsername);

    ResponseResult audit(UserVo userVo);

    ResponseResult delete(Integer id);


    ResponseResult count();

    ResponseResult listup(Integer page, Integer limit, String pattern);

    ResponseResult listdown(Integer page, Integer limit, String pattern);

    ResponseResult list(Integer page, Integer limit, String pattern);

    ResponseResult byId(Integer id);

    ResponseResult publish(Houseresource houseresource);

    ResponseResult UserPage(Integer page, Integer limit, String pattern, String username);
}
